using System;
using System.Collections.Generic;
using System.Text;

namespace StoresManagementDataLayer
{
    [Serializable]
    public class DataSort
    {
        private bool f_Descending = false;
        public bool Descending
        {
            get { return f_Descending; }
            set { f_Descending = value; }
        }
        private string f_Property;
        public string Property
        {
            get { return f_Property; }
            set { f_Property = value; }
        }

        public DataSort(string property, bool descending)
        {
            this.f_Descending = descending;
            this.f_Property = property;
        }
    }
}
